<html>

<head>
    #include("./common/head.htm")
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>bootstrap中文后台开发框架</title>
</head>

<body class="theme-blue-gradient pace-done">
<!--vue和dom绑定-->
    <div id="user_content">
        #include("./common/header.htm")
        <div id="content-wrapper">
            <div class="content-iframe" style="background-color: #f9f9f9;">
                <div class="mainContent" id="content-main" style="margin: 0px; padding: 0px; height: 1050px;">
                    <!-- <iframe name="main_iframe" width="100%" height="100%" id="default" frameborder="0"> -->
                    <!--页面主要内容-->
                    <main class="ftdms-layout-content">
                        <div style="margin: 20px;border:  1px solid rgb(174, 172, 172);">
                            <div class="row">
                                <div class="col-md-4" style="text-align: left; padding: 2%;"><i class="ftsucai-124"></i>
                                    搜索筛选 </div>
                                <div class="col-md-4 col-md-offset-4" style="text-align: right;padding: 2%;">
                                    <button @click="resetSearchInfo()" class="btn btn-info .btn-xs">重置</button>
                                    <button @click="search()" class="btn btn-default .btn-xs">搜索</button>
                                </div>
                            </div>
                            <div class="row" style="height: 50px;">
                                <div class="col-md-2" style="padding-bottom: 15px;">

                                </div>
                                <div class="col-md-2" style="padding-bottom: 15px;">
                                    <div class="col-xs-12">
                                        <input class="form-control" type="text" id="example-text-input" v-model="search_keywords"
                                            name="example-text-input" placeholder="输入用户名..">
                                    </div>
                                </div>
                                <div class="col-md8" style="padding-bottom: 15px;">

                                </div>
                            </div>
                        </div>

                        <div class="row" style="height: 60px;margin: 20px;border: 1px solid rgb(174, 172, 172);">
                            <div class="col-md-6" style="text-align: left;padding-top: 20px;">
                                <i class="ftsucai-Sales"></i> 数据列表
                            </div>
                        </div>
                        <div style="margin-: 150px;margin-left: 20px;margin-right: 20px;">
                            <table class="table table-hover table-bordered">
                                <thead>
                                    <tr>
                                        <th>用户名</th>
                                        <th>密码</th>
                                        <th>电话</th>
                                        <th>头像</th>
                                        <th>性别</th>
                                        <th>年龄</th>
                                        <th>邮箱</th>
                                        <th>国家</th>
                                        <th>标签</th>
                                        <th>是否启用</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr v-for="(user,index) in userArray">
                                        <th scope="row">{{user.username}}</th>
                                        <td>{{user.password}}</td>
                                        <td>{{user.phone}}</td>
                                        <td>
                                            <div>
                                                <image style="height: 80px;" :src="user.picturesrc">
                                                </image>
                                            </div>
                                        </td>
                                        <td>{{user.sex}}</td>
                                        <td>{{user.age}}</td>
                                        <td>{{user.email}}</td>
                                        <td>{{user.country}}</td>
                                        <td>{{user.signature}}</td>
                                        <td style="text-align: center;">
                                            <label @click="setavailable(index)" class="ftdms-switch switch-solid switch-info">
                                                <input type="checkbox" v-model="user.available">
                                                <span></span>
                                            </label>
                                        </td>
                                        <td>
                                            <div class="btn-group">
                                                <a class="btn btn-xs btn-default submenuitem" @click="deleteUserAccount(index)"
                                                   target="_self" title="删除"><i class="ftsucai-del-2"></i></a>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <div style="text-align: center;">
                                <nav>
                                    <ul class="pagination pagination-circle">
                                        <li class="disabled">
                                            <a href="#">
                                                <span><i class="ftsucai-146"></i></span>
                                            </a>
                                        </li>
                                        <li class="active"><a href="#">1</a></li>
                                        <li><a class="submenuitem" href="category_manage.html">2</a></li>
                                        <li><a class="submenuitem" href="category_manage.html">3</a></li>
                                        <li><a class="submenuitem" href="category_manage.html">4</a></li>
                                        <li><a class="submenuitem" href="category_manage.html">5</a></li>
                                        <li>
                                            <a href="#">
                                                <span><i class="ftsucai-139"></i></span>
                                            </a>
                                        </li>
                                    </ul>
                                </nav>
                                <div style="margin-left : 500px;margin-right: 500px;">
                                    前往<input type="text" style="width: 20px" id="example-text-input" placeholder="">页
                                </div>

                            </div>

                        </div>



                        <div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" id="updateuser">
                            <div class="modal-dialog" role="document">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                                aria-hidden="true">&times;</span></button>
                                        <h4 class="modal-title" id="gridSystemModalLabel">编辑用户信息</h4>
                                    </div>
                                    <div class="modal-body">
                                        <div class="row">
                                            <div class="col-md-4">.col-md-4</div>
                                            <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div>
                                        </div>
                                        <div class="row">
                                            <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div>
                                            <div class="col-md-2 col-md-offset-4">.col-md-2 .col-md-offset-4</div>
                                        </div>
                                        <div class="row">
                                            <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-9">
                                                Level 1: .col-sm-9
                                                <div class="row">
                                                    <div class="col-xs-8 col-sm-6">
                                                        Level 2: .col-xs-8 .col-sm-6
                                                    </div>
                                                    <div class="col-xs-4 col-sm-6">
                                                        Level 2: .col-xs-4 .col-sm-6
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                        <button type="button" class="btn btn-primary">点击保存</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </main>
                </div>
            </div>
        </div>

    </div>
</body>

</html>